<!DOCTYPE html>

<html>
<head>
<meta content="text/html; charset=CP852" http-equiv="Content-Type">

<title>Rakefile - RDoc Documentation</title>

<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">

<script type="text/javascript">
  var rdoc_rel_prefix = "./";
</script>

<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>


<body class="file">
<nav id="metadata">
  <nav id="home-section" class="section">
  <h3 class="section-header">
    <a href="./index.html">Home</a>
    <a href="./table_of_contents.html#classes">Classes</a>
    <a href="./table_of_contents.html#methods">Methods</a>
  </h3>
</nav>


  <nav id="search-section" class="section project-section" class="initially-hidden">
  <form action="#" method="get" accept-charset="utf-8">
    <h3 class="section-header">
      <input type="text" name="search" placeholder="Search" id="search-field"
             title="Type to search, Up and Down to navigate, Enter to load">
    </h3>
  </form>

  <ul id="search-results" class="initially-hidden"></ul>
</nav>


  <div id="project-metadata">
    <nav id="fileindex-section" class="section project-section">
  <h3 class="section-header">Pages</h3>

  <ul>
  
    <li class="file"><a href="./LICENSE.html">LICENSE</a>
  
    <li class="file"><a href="./README.html">README</a>
  
    <li class="file"><a href="./Rakefile.html">Rakefile</a>
  
    <li class="file"><a href="./nbproject/private/rake-d_txt.html">rake-d</a>
  
  </ul>
</nav>

    <nav id="classindex-section" class="section project-section">
  <h3 class="section-header">Class and Module Index</h3>

  <ul class="link-list">
  
    <li><a href="./Collection.html">Collection</a>
  
    <li><a href="./Document.html">Document</a>
  
    <li><a href="./ExistAPI.html">ExistAPI</a>
  
    <li><a href="./ExistException.html">ExistException</a>
  
    <li><a href="./TestExistAPI.html">TestExistAPI</a>
  
  </ul>
</nav>

  </div>
</nav>

<div id="documentation" class="description">
  
<p>#  # To change this template, choose Tools | Templates # and open the
template in the editor.</p>

<p>require 'rubygems' require 'rake' require 'rake/clean' require
'rake/gempackagetask' require 'rake/rdoctask' require 'rake/testtask'</p>

<p>spec = Gem::Specification.new do |s|</p>

<pre>s.name = 'eXistAPI'
s.version = '0.0.1'
s.has_rdoc = true
s.extra_rdoc_files = ['README', 'LICENSE']
s.summary = 'Your summary here'
s.description = s.summary
s.author = ''
s.email = ''
# s.executables = ['your_executable_here']
s.files = %w(LICENSE README Rakefile) + Dir.glob(&quot;{bin,lib,spec}     &quot;)
s.require_path = &quot;lib&quot;
s.bindir = &quot;bin&quot;</pre>

<p>end</p>

<p>Rake::GemPackageTask.new(spec) do |p|</p>

<pre>p.gem_spec = spec
p.need_tar = true
p.need_zip = true</pre>

<p>end</p>

<p>Rake::RDocTask.new do |rdoc|</p>

<pre>files =['README', 'LICENSE', 'lib/   *.rb']
rdoc.rdoc_files.add(files)
rdoc.main = &quot;README&quot; # page to start on
rdoc.title = &quot;eXistAPI Docs&quot;
rdoc.rdoc_dir = 'doc/rdoc' # rdoc output folder
rdoc.options &lt;&lt; '--line-numbers'</pre>

<p>end</p>

<p>Rake::TestTask.new do |t|</p>

<pre>t.test_files = FileList['test/   *.rb']</pre>

<p>end</p>

</div>



<footer id="validator-badges">
  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
</footer>

